package com.njym.java.security.admin.mapper;

import com.njym.java.security.admin.entity.TaskUserRelevance;
import com.njym.java.security.admin.entity.TaskUserRelevanceVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-12-02 16:20:47
 */

public interface TaskUserRelevanceMapper extends Mapper<TaskUserRelevance> {

    List<TaskUserRelevanceVo> getUserTask(@Param("familyId") int familyId, @Param("conId") int conId);

    List<TaskUserRelevanceVo> getTasksStars(@Param("instructorId") Integer instructorId, @Param("modelFlag") Integer modelFlag,
                                            @Param("attr3") String attr3, @Param("status") Integer status);

    int getcounts(@Param("instructorId") Integer instructorId, @Param("modelFlag") Integer modelFlag,
                  @Param("attr3") String attr3, @Param("status") Integer status);
}
